/*
 * Created by JFormDesigner on Thu Jun 27 09:02:52 CST 2024
 */

package scct.zhangjing.ui;

import java.awt.*;
import javax.swing.*;

/**
 * @author MG
 */
public class FormMain extends JFrame {
    public FormMain() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents  @formatter:off
        // Generated using JFormDesigner Evaluation license - zhangjing
        menuBar1 = new JMenuBar();
        menu1 = new JMenu();
        menuItem2 = new JMenuItem();
        menuItem3 = new JMenuItem();
        menu2 = new JMenu();
        menuItem4 = new JMenuItem();
        menuItem5 = new JMenuItem();
        menuItem6 = new JMenuItem();
        menuItem7 = new JMenuItem();
        menu3 = new JMenu();
        menuItem8 = new JMenuItem();
        toolBar1 = new JToolBar();
        button1 = new JButton();
        button2 = new JButton();
        button3 = new JButton();
        button4 = new JButton();

        //======== this ========
        setTitle("\u533b\u9662\u7ba1\u7406\u7cfb\u7edf");
        Container contentPane = getContentPane();
        contentPane.setLayout(new BorderLayout());

        //======== menuBar1 ========
        {

            //======== menu1 ========
            {
                menu1.setText("\u7cfb\u7edf");

                //---- menuItem2 ----
                menuItem2.setText("\u7528\u6237\u7ba1\u7406");
                menu1.add(menuItem2);

                //---- menuItem3 ----
                menuItem3.setText("\u9000\u51fa");
                menu1.add(menuItem3);
            }
            menuBar1.add(menu1);

            //======== menu2 ========
            {
                menu2.setText("\u7ba1\u7406");

                //---- menuItem4 ----
                menuItem4.setText("\u54c1\u724c\u7ba1\u7406");
                menu2.add(menuItem4);

                //---- menuItem5 ----
                menuItem5.setText("\u7c7b\u522b\u7ba1\u7406");
                menu2.add(menuItem5);

                //---- menuItem6 ----
                menuItem6.setText("\u5546\u54c1\u7ba1\u7406");
                menu2.add(menuItem6);

                //---- menuItem7 ----
                menuItem7.setText("\u9500\u552e\u7ba1\u7406");
                menu2.add(menuItem7);
            }
            menuBar1.add(menu2);

            //======== menu3 ========
            {
                menu3.setText("\u5173\u4e8e");

                //---- menuItem8 ----
                menuItem8.setText("\u6211\u7684\u9879\u76ee");
                menu3.add(menuItem8);
            }
            menuBar1.add(menu3);
        }
        setJMenuBar(menuBar1);

        //======== toolBar1 ========
        {
            toolBar1.setFloatable(false);

            //---- button1 ----
            button1.setIcon(new ImageIcon(getClass().getResource("/icon/5895c159e87634f611ea71342ca1095.jpg")));
            toolBar1.add(button1);

            //---- button2 ----
            button2.setIcon(new ImageIcon(getClass().getResource("/icon/0fab13899698c5ef4fae2c9aa23eaa9.jpg")));
            toolBar1.add(button2);

            //---- button3 ----
            button3.setIcon(new ImageIcon(getClass().getResource("/icon/116a602bb891d74702c5847c1a0af40.png")));
            toolBar1.add(button3);

            //---- button4 ----
            button4.setIcon(new ImageIcon(getClass().getResource("/icon/ba677ada5967a06f130edfe099b840a.jpg")));
            toolBar1.add(button4);
        }
        contentPane.add(toolBar1, BorderLayout.NORTH);
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents  @formatter:on
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables  @formatter:off
    // Generated using JFormDesigner Evaluation license - zhangjing
    private JMenuBar menuBar1;
    private JMenu menu1;
    private JMenuItem menuItem2;
    private JMenuItem menuItem3;
    private JMenu menu2;
    private JMenuItem menuItem4;
    private JMenuItem menuItem5;
    private JMenuItem menuItem6;
    private JMenuItem menuItem7;
    private JMenu menu3;
    private JMenuItem menuItem8;
    private JToolBar toolBar1;
    private JButton button1;
    private JButton button2;
    private JButton button3;
    private JButton button4;
    // JFormDesigner - End of variables declaration  //GEN-END:variables  @formatter:on
}
